package com.bc004346.travelus.model.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by Renats on 7/3/2014.
 * Common grouping of flight search params
 */
public class FlightSearchParams implements Serializable {

    private static final Long serialVersionUID = 4436222416000000001L;
    private String mOrigin;
    private String mDestination;
    private Boolean mIsOneWay;
    private Date mDeparture;
    private Date mReturn;
    private Flag mAirportLookupToken;

    public String getOrigin() {
        return mOrigin;
    }

    public void setOrigin(String origin) {
        this.mOrigin = origin;
    }

    public String getDestination() {
        return mDestination;
    }

    public void setDestination(String destination) {
        this.mDestination = destination;
    }

    public Boolean isOneWay() {
        return mIsOneWay;
    }

    public void setIsOneWay(Boolean isOneWay) {
        this.mIsOneWay = isOneWay;
    }

    public Date getDeparture() {
        return mDeparture;
    }

    public void setDeparture(Date departure) {
        this.mDeparture = departure;
    }

    public Date getReturn() {
        return mReturn;
    }

    public void setReturn(Date returnFlight) {
        this.mReturn = returnFlight;
    }

    public Flag getAirportLookupToken() {
        return mAirportLookupToken;
    }

    public void setAirportLookupToken(Flag flag) {
        this.mAirportLookupToken = flag;
    }


    public enum Flag {
        Origin,
        Destination
    }
}
